import { _decorator, Asset, Component, JsonAsset, Label, Node } from "cc";
const { ccclass, property } = _decorator;

@ccclass("ver")
export class ver extends Component {
  @property(JsonAsset)
  versionUrl: JsonAsset = null!;

  start() {

    this.node.getComponent(Label).string = this.versionUrl.json.version;
  }

  update(deltaTime: number) {}
}
